† Corresponding author. E-mail:
Project supported by the National MCF Energy Research and Development Program of China (Grant No. 2018YFE0302100) and the National Natural Science Foundation of China (Grant Nos. 11705239, 11805236, and 11875291).
In order to measure controllability of vertical instability in EAST, the calculation of model-based vertical growth rate, called rt-gamma, has been successfully carried out in real time. The numerical computing method is adapted from rigid plasma response model in TokSys, which is a widely-used analysis tool for tokamak devices in Matlab environment, but the code is rewritten by taking advantage of GPU parallel computing capability to accelerate the computation. The calculation of rt-gamma is validated by comparing it with the corresponding result generated by TokSys for totally 3508 cases. It is shown that the average absolute value of relative errors is about 0.85%. In addition, the calculation program of rt-gamma has been successfully applied during 2019 EAST campaign. The comparison with experimental results is discussed in this paper. The real-time calculation tool is well able to calculate model-based vertical growth rate, which is convenient for fast and continuous evaluations of EAST control system stability performances.
Tokamak plasma with elongated cross section is intrinsically unstable, bringing vertical instability to cause vertical displacement event (VDE), leading to vertical unstable disruption, and producing severe damages to devices.[1,2] The experimental advanced superconducting tokamak (EAST) is the first full superconducting tokamak,[3,4] where the elongated plasma cross section is used to enhance plasma confinement performance. Therefore, plasma vertical stabilization is one of the most favorite research on EAST.[5,6] Thanks to the stabilization effect of induced currents in passive structures, passive conductors (for example vacuum vessel) can slow down the plasma motion brought by vertical instability from the very fast Alfvén timescale (typically microseconds) to electromagnetic timescale (typically milliseconds).[7] Thus, active feedback vertical controller cooperating with plasma shape and position controller, can be designed to further suppress vertical instability.[8] The design of feedback controller is usually based on plasma response models. The linear rigid plasma response model in TokSys,[9] which is an important and widely-used tool developed by DIII-D team for tokamak data analysis, has been commonly used in EAST control system. TokSys has been frequently used to calculate growth rate of vertical instability based on rigid plasma response model for the reconstructed plasma equilibrium,[7] which is a key parameter to indicate vertical instability.[10–12] Currently, the real-time version of vertical growth rate calculation (rt-gamma) has been carried out on EAST, which also adopts rigid plasma response model.[13] The computation of rt-gamma is achieved by linearizing the plasma response around the real-time plasma equilibrium reconstructed by PEFIT.[14] Furthermore, a proper representation of passive conductor structures surrounding plasma is required. An equivalent axisymmetric model, taking three-dimensional (3D) features of the conducting structures into account, is proposed in Ref. [15]. For the purpose of a faster computation, a simplified version of this model is utilized in our work. The real-time calculation tool takes advantage of parallel computing provided by graphics processing unit (GPU) and multi-thread techniques. Besides, data transmission with EAST plasma control system (PCS)[16,17] is realized through using reflective memory (RFM) communication method.
In this paper, the availability of the real-time vertical growth rate calculation is verified by comparing it with corresponding TokSys results. The calculation of rt-gamma has been implemented successfully on EAST. During 2019 EAST campaign, several open-loop experiments have been carried out, where the elongated unstable plasma can drift freely in the absence of active vertical control at a predetermined time instant. Experimental vertical growth rate is measured and compared with value of rt-gamma.
The remainder of the paper is organized as following. In Section
In this section, an introduction to the calculation of real-time vertical growth rate is given, including the computing principle, and its real-time implementation.
The calculation of rt-gamma is based on the rigid plasma response model.[7] Plasma is considered as a rigid massless filament, carrying current (Ip), only moving in radial (R) and vertical (Z) directions; Plasma filament can maintain force balance at equilibrium point; Plasma filament can be coupled with surrounding conductor structures. The EAST control system can be described using two circuits equations based on the Kirchhoff’s circuit law and Faraday’s law, which are shown in the following.[9]
The circuit equation for plasma and surrounding stabilizing conductors:
The circuit equation for plasma:
In the above equations, the subscripts s, p, and c denote stabilization structures, plasma, and the centroid of plasma current; L and M represent self-inductance and mutual inductance; Rc and Zc are the radial and vertical positions of plasma current centroid; Rss Rp represent resistances of stabilizing structure conductors and plasma; Is0 and Ip0 are currents at the initial equilibrium point. The above two first order differential equations can be reorganized into an input equation in the state space form
Matrices A, B, C, and D are the coefficient matrices in this state space form. x is the state vector and u is the input vector. Because the problem of our concern is plasma vertical instability, y and u can be appointed as the vertical position of plasma and the command for power supply of IC (In-vessel Copper) coil. When there exists any positive real eigenvalue of matrix A, it indicates that the open-loop system (i.e., u = 0) is unstable. For the modelled EAST system at an equilibrium point, there is only one positive eigenvalue of matrix A, representing growth rate of vertical instability.
This computing principle used in rt-gamma calculation is the same as that in TokSys. The main difference between two calculations is the implementation method. Previous calculation of vertical growth rate from TokSys is based on plasma equilibrium generated by EFIT[18] at a time in Matlab environment. Our new calculation of vertical growth rate, i.e., rt-gamma, is more effective. Because the program is rewritten using C and CUDA C languages based on plasma equilibrium produced by PEFIT, which is the GPU parallel equilibrium reconstruction code.
Based on the above fundamental principle, the calculation of rt-gamma can be developed taking advantage of GPU acceleration. The flow chart of calculations is given in Fig.
In order to carry out calculations of γ continuously during a discharge, a real-time computing system is designed. The hardware structure of the system, named as “Rt-computing system”, is shown in Fig.
The Rt-computing system is able to receive the magnetic diagnostic signals, including the signals of flux loop (38), magnetic probes (36), and the Rogowski coil (1) from EAST PCS, and send the calculation results to EAST PCS in real time. In addition, this system can receive the signal of triggering the shot using Linux Socket communication technique. Real-time data transmission and main calculations of rt-gamma in this system are as follows:
The digital magnetic diagnostic data are transferred to this system from EAST PCS using direct memory access (DMA) method through RFM; PEFIT computes the plasma equilibrium using these diagnostic data; The circuit equations (Eqs. ( By solving the maximum eigenvalue of matrix A, the vertical growth rate (γ) can be calculated.
Time for computing a γ result is about 2 ms (see the Ref. [13] for more details).
TokSys, which is well able to estimate vertical growth rates, has been applied to several devices, such as DIII-D[9] and EAST,[5,10–12] and experimentally validated. This gives us the possibility to compare rt-gamma with the result calculated by TokSys directly. For this purpose, a total of 3508 cases, which cover the whole range of interest for EAST experiments from the minimum growth rate (around 100 s−1) to the maximum growth rate (about 800 s−1), are used to compare γ generated by two calculation tools. In these cases, magnetic diagnostics (i.e., flux loop, magnetic probes, and the Rogowski coil) are used as input. For calculations of γ in TokSys, executions are divided into two steps: Firstly, EFIT generates plasma equilibrium according to these diagnostic signals; Then, TokSys calculates γ based on the equilibrium data. As described in the previous section, rt-gamma calculation can be executed in only one step, because the program is embedded with equilibrium reconstruction function (PEFIT). It is obvious that the computation of rt-gamma is more convenient and significantly time-saving in terms of steps to be executed. Comparisons between rt-gamma and TokSys results are presented in Fig.
An open-loop control experiment is used to better illustrate physical meaning of rt-gamma experimentally. Firstly, on the basis of understanding how vertical stabilization system works, we explain the implementation of this open-loop control experiment on EAST. As we known, plasma is inherently vertically unstable. In that case, there are 2 anti-series IC coils to form the IC circuit for fast response to vertical instability, serving as the vertical stabilization (VS) system. Besides, there are 14 ex-vessel poloidal field (PF) superconductive coils connected to form 12 independent PF circuits for plasma shape and position control system. Thanks to the frequency separation approach by using a filter, vertical position control can be divided into two parts: Vertical stabilization control is done by VS system on a faster time scale; Plasma shape and position control are performed in PF circuits on a slower time scale. During 2019 EAST campaign, these open-loop VDE experiments were conducted by setting command of IC power supply to zero, but remaining other control commands fixed at some point. In that way, after the switch-off of vertical control, elongated plasma became vertically unstable, and i) drifted freely or ii) disrupted quickly in a few milliseconds. It is worth noting that only in the first case (free drift), experimentally measured vertical growth rate can represent realistic plasma vertical motion.
The method of measuring experimental growth rate of vertical instability is given. When vertical control is turned off and plasma drifts freely, its vertical position is shown as a function of time. On EAST, plasma vertical position (Z) is considered as the vertical position of plasma current centroid. It is a real-time estimation by multiplying quantities of magnetic diagnostics by a constant matrix (called E matrix in EAST PCS[8]). So that experimental growth rate can be obtained by fitting time evolution of Z, with the following exponential function:
The discharge #95144 is a typical open-loop experiment, where the vertical control is turned off at 7.7 s. Experimental results during shot #95144 are shown in Fig.
In fact, closed-loop vertical control experiments are usually carried out on EAST from the safe operation point of view. Furthermore, discharge of open-loop control without early vertical disruption, especially for plasma with large elongation, is hard to be guaranteed. Thus, it is very difficult to find such a perspective plasma behavior as that during 6 ms of time interval in shot 95144 for measuring experimental γ. These objective conditions do not allow ideal comparison between model and experimental results in a certain degree. Nonetheless, we still carry out a series of comparisons of rt-gamma with experimental fitted growth rate, based on different kinds of VDE experiments. In these discharges, plasma is approximately considered to drift freely. Common characteristic of plasma for all these discharges is that, plasma vertical position varies exponentially for a few centimeters (for example, 4 cm) during a time interval of a few milliseconds (for example, 6 ms) before disruption. The relationship between model-based result, i.e., rt-gamma, and experimental result is shown in Fig.
In this paper, we firstly introduce the calculation of rt-gamma, which makes use of the rigid plasma response model in TokSys. To achieve an effective computation, the program is rewritten taking advantages of GPU parallel computing capability, which is based on two basic modules, i.e., real-time plasma equilibrium provided by PEFIT and the simplified EAST passive structure. To achieve real-time implementation, the communication with EAST PCS is realized by RFM and Linux Socket techniques.
Secondly, the comparisons with TokSys results covering a wide range of experimental data show the validity of the rt-gamma calculation. Therefore, we confirm rt-gamma calculation is applicable for evaluating model-based vertical growth rate. The value of rt-gamma can be used as a real-time parameter for further controller design or optimization and EAST system stability analysis.
Finally, we describe experimental operation and method of measuring vertical growth rate in detail. The comparison of rt-gamma with experimental results is also presented. The values of rt-gamma are similar to experimental results in our cases. There are varieties of factors causing inconsistencies between theoretical and experimental results, including limitations of rigid plasma response model and the simplified passive structure model, uncertainty in estimating plasma vertical position, and noise and disturbance of plasma, etc. All of these factors may contribute to the understanding of plasma vertical instability. However, it is still a big challenge to accurately model the plasma behavior for vertical instability, which should be emphasized in future studies.
[1] | |
[2] | |
[3] | |
[4] | |
[5] | |
[6] | |
[7] | |
[8] | |
[9] | |
[10] | |
[11] | |
[12] | |
[13] | |
[14] | |
[15] | |
[16] | |
[17] | |
[18] | |
[19] | |
[20] |